package com.yuner.yunMall.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Seven-Liu
 * @date 2022-05-20
 */
@FeignClient(name = "yuner-provider")
//@FeignClient(name = "yuner-provider", fallback = AuthProvider.AuthProviderFallback.class)
//@FeignClient(name = "yuner-provider", url = "http://${spring.application.name}")
public interface LoginApi {

    @RequestMapping(value = "/providerLogin/login", method = RequestMethod.GET)
    public String feign1();


}
